//
//  E7Layer.cpp
//  E7_ENGINE
//
//  Created by cc on 12-2-28.
//  Copyright (c) 2012年 PalmGame. All rights reserved.
//

#include "E7Layer.h"

CE7Layer::CE7Layer()
{
//    autorelease() ;
    m_eStep = LS_START ;
}

CE7Layer::~CE7Layer()
{
}

bool CE7Layer::Loop()
{
    if (LS_STOP == m_eStep)
    {
        return false ;
    }

    return true ;
}

void CE7Layer::DialogYES()
{
}

void CE7Layer::DialogNO()
{
}

void CE7Layer::DialogOK()
{
}

void CE7Layer::ccTouchesBegan(CCSet *pTouches, CCEvent *pEvent)
{
    printf("CE7Layer::ccTouchesBegan\n") ;
/*
    CCSetIterator it ;
	CCTouch* touch ;

	for (it = pTouches->begin(); it != pTouches->end(); ++it) 
	{
		touch = (CCTouch*)(*it) ;

		if (!touch)
        {
            break ;
        }

		CCPoint location = touch->locationInView(touch->view()) ;
		location = CCDirector::sharedDirector()->convertToGL(location) ;
	}
*/
}

void CE7Layer::ccTouchesMoved(CCSet *pTouches, CCEvent *pEvent)
{
    printf("CE7Layer::ccTouchesMoved\n") ;
}

void CE7Layer::ccTouchesEnded(CCSet *pTouches, CCEvent *pEvent)
{
    printf("CE7Layer::ccTouchesEnded\n") ;
}

void CE7Layer::ccTouchesCancelled(CCSet *pTouches, CCEvent *pEvent)
{
    printf("CE7Layer::ccTouchesCancelled\n") ;
}

void CE7Layer::SetStep(eLayerStep step)
{
    m_eStep = step ;
}

CE7Layer::eLayerStep CE7Layer::GetStep()
{
    return m_eStep ;
}

















